package com.csi.mapper;

import com.csi.domain.UserAssess;
import org.apache.ibatis.annotations.MapKey;

import java.util.List;
import java.util.Map;

public interface AssessMapper {
    int save(UserAssess userAssess);

    @MapKey("id")
    Map<String, Object> findById(long userId);

    @MapKey("id")
    Map<String, Object> findByPackageId(long packageId);
}
